package com.rz.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rz.admin.entity.RoleResource;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

public interface RoleResourceMapper extends BaseMapper<RoleResource> {
    @Delete("delete from t_role_resource where role_id = #{roleId}")
    int deleteByRoleId(@Param("roleId") Integer roleId);
}
